
<!DOCTYPE html>
<html style="height: 100%;">
<head>
    <!--[if lte IE 9]>
    <script type="text/javascript">
        (function(){
            var t = '你的浏览器也太挫了吧！大佬换一个噻！';
            document.body.innerHTML = t;
            document.body.style.fontSize = '66px';
            document.body.style.textAlign = 'center';
            document.body.style.background = '#000';
            document.body.style.color = '#fff';
            if (prompt('输入代号 666666 销毁此电脑: ', '') === '666666') {
                alert('拜拜了您呢~')
            } else {
                alert('总感觉哪里不对');
            }
            window.open('', '_self', '');
            window.close();
        })();
    </script>
    <![endif]-->
    <meta charset="UTF-8">
    <title>vip音乐在线解析－全网音乐免费下载</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="keywords" content="音乐会员破解下载,音乐搜索,VIP会员音乐下载,音乐试听,音乐在线听,网易云音乐,QQ音乐,酷狗音乐,酷我音乐,虾米音乐,百度音乐,一听音乐,咪咕音乐,荔枝FM,蜻蜓FM,喜马拉雅FM,全民K歌,5sing原创翻唱音乐">
    <meta name="description" content="音乐会员破解下载,音乐搜索,VIP会员音乐下载,音乐试听,音乐在线听,网易云音乐,QQ音乐,酷狗音乐,酷我音乐,虾米音乐,百度音乐,一听音乐,咪咕音乐,荔枝FM,蜻蜓FM,喜马拉雅FM,全民K歌,5sing原创翻唱音乐">
    <link rel="shortcut icon" href="http://tool.onlychen.cn/images/favicon.ico">
    <link rel="stylesheet" href="https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
    <!--<link rel="apple-touch-icon" href="static/img/apple-touch-icon.png">-->
    <link rel="stylesheet" href="http://cdn.staticfile.org/amazeui/2.3.0/css/amazeui.min.css">
    <link rel="stylesheet" href="http://music.onlychen.cn/static/css/style.css?v1.6.2">
    <link rel="stylesheet" type="text/css" href="http://tool.onlychen.cn/style/css/style.css">
</head>
<body>
<header class="aim-topbar">
    <div class="aim-header">
        <div class="aim-title"><a href="http://tool.onlychen.cn">企鹅助理Pro</a></div>
        <button class="aim-menu"><span class="aim-icon fa fa-bars"></span></button>
        <div class="aim-collapse" id="doc-topbar-collapse">
            <ul class="aim-topbar-nav">
                <li class="aim-noset"><a href="http://tool.onlychen.cn">首页</a></li>
                <li class="aim-active"><a href="/">音乐解析</a></li>
                <!--<li class="aim-noset"><a href="http://video.onlychen.cn">视频解析</a></li>-->
                <!--<li class="aim-noset"><a href="http://douyin.onlychen.cn">抖音解析</a></li>-->
                <!--<li class="aim-noset"><a href="http://qm.qq.com/cgi-bin/qm/qr?k=meQ4UwIsNByaiciftuNaCsBoultPY1Y8">联系我</a></li>-->
            </ul>
            <!--<div class="aim-topbar-right">-->
                <!--<button class="aim-btn" data-am-modal="{target: '#juanzhu'}">捐助</button>-->
            <!--</div>-->
        </div>
    </div>
</header>
<!--<div style="width: 94%;margin: 12px auto;text-align: center;">-->
    <!--<a href="http://douyin.onlychen.cn" style="font-size: 14px;text-decoration: none;background: #2196D6;color: #fff;padding: 8px 12px;border-radius: 2px;">抖音无水印解析</a>-->
    <!--<p>推荐使用谷歌浏览器</p>-->
<!--</div>-->
<section class="am-g about">
    <div class="am-u-lg-12 am-padding-vertical">
        <form id="j-validator" class="am-form am-margin-bottom-lg" method="post">
            <div class="am-u-md-12 am-u-sm-centered">
                <ul id="j-nav" class="am-nav am-nav-pills am-nav-justify am-margin-bottom music-tabs">
                    <li class="am-active" data-filter="name">
                        <a>音乐名称</a>
                    </li>
                    <li data-filter="id">
                        <a>音乐 ID</a>
                    </li>
                    <li data-filter="url">
                        <a>音乐地址</a>
                    </li>
                </ul>
                <div class="am-form-group">
                    <input id="j-input" data-filter="name" class="am-form-field am-input-lg am-text-center am-radius" placeholder="例如: 不要说话 陈奕迅" data-am-loading="{loadingText: ' '}" pattern="^.+$" required autocomplete="off">
                    <div class="am-alert am-alert-danger am-animation-shake"></div>
                </div>
                <div id="j-type" class="am-form-group am-text-center music-type">
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="netease" data-am-ucheck checked>
                        网易                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="qq" data-am-ucheck>
                        ＱＱ                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="kugou" data-am-ucheck>
                        酷狗                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="kuwo" data-am-ucheck>
                        酷我                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="xiami" data-am-ucheck>
                        虾米                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="baidu" data-am-ucheck>
                        百度                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="1ting" data-am-ucheck>
                        一听                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="migu" data-am-ucheck>
                        咪咕                            </label>
                    <br />                                                    <label class="am-radio-inline">
                    <input type="radio" name="music_type" value="lizhi" data-am-ucheck>
                    荔枝                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="qingting" data-am-ucheck>
                        蜻蜓                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="ximalaya" data-am-ucheck>
                        喜马拉雅                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="kg" data-am-ucheck>
                        全民K歌                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="5singyc" data-am-ucheck>
                        5sing原创                            </label>
                    <label class="am-radio-inline">
                        <input type="radio" name="music_type" value="5singfc" data-am-ucheck>
                        5sing翻唱                            </label>
                </div>
                <button id="j-submit" type="submit" autocomplete="off" class="am-btn am-btn-primary am-btn-lg am-btn-block am-radius" data-am-loading="{spinner: 'cog', loadingText: '正在搜索相关音乐...', resetText: ' 搜索 '}"> 搜索 </button>
            </div>
        </form>
        <form id="j-main" class="am-form am-u-md-12 am-u-sm-centered music-main">
            <a type="button" id="j-back" class="am-btn am-btn-success am-btn-lg am-btn-block am-radius am-margin-bottom-lg"> 返回继续 <i class="am-icon-reply am-icon-fw"></i></a>
            <div class="am-g am-margin-bottom-sm">
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐地址', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-link am-icon-fw"></i></span>
                        <input id="j-link" class="am-form-field" readonly>
                        <span class="am-input-group-btn">
                                    <a id="j-link-btn" class="am-btn am-btn-default" target="_blank">
                                        <i class="am-icon-external-link"></i>
                                    </a>
                                </span>
                    </div>
                </div>
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐链接', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-music am-icon-fw"></i></span>
                        <input id="j-src" class="am-form-field" readonly>
                        <span class="am-input-group-btn">
                                    <a id="j-src-btn" class="am-btn am-btn-default" target="_blank">
                                        <i id="j-src-btn-icon" class="am-icon-external-link"></i>
                                    </a>
                                </span>
                    </div>
                </div>
            </div>
            <div class="am-g">
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐ID', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-list-ol am-icon-fw"></i></span>
                        <input id="j-songid" class="am-form-field" readonly>
                    </div>
                </div>
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐歌词', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-file-text-o am-icon-fw"></i></span>
                        <input id="j-lrc" class="am-form-field" readonly>
                        <span class="am-input-group-btn">
                                    <a id="j-lrc-btn" class="am-btn am-btn-default" target="_blank">
                                        <i id="j-lrc-btn-icon" class="am-icon-external-link"></i>
                                    </a>
                                </span>
                    </div>
                </div>
            </div>
            <div class="am-g">
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐名称', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-tag am-icon-fw"></i></span>
                        <input id="j-name" class="am-form-field" readonly>
                    </div>
                </div>
                <div class="am-u-lg-6">
                    <div class="am-input-group am-input-group-sm am-margin-bottom-sm" data-am-popover="{content: '音乐作者', trigger: 'hover'}">
                        <span class="am-input-group-label"><i class="am-icon-user am-icon-fw"></i></span>
                        <input id="j-author" class="am-form-field" readonly>
                    </div>
                </div>
            </div>
            <div id="j-show" class="am-margin-vertical">
                <div id="j-player" class="aplayer"></div>
            </div>
        </form>

    </div>

    <div class="am-modal am-modal-alert" tabindex="-1" id="juanzhu">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">来包辣条</div>
            <div class="am-modal-bd">
                <span style="display:block;text-align:center;font-size:20px;">微信</span>
                <img style="display:block;margin:5px auto 0 auto;height:200px;width:200px;" src="http://tool.onlychen.cn/images/wx.png">
            </div>
            <div class="am-modal-footer"><span class="am-modal-btn">确定</span></div>
        </div>
    </div>

    <div class="am-popup" id="copr-info">
        <div class="am-popup-inner">
            <div class="am-popup-hd">
                <h4 class="am-popup-title">免责声明</h4>
                <span data-am-modal-close class="am-close">&times;</span>
            </div>
            <div class="am-popup-bd">
                <p>本站只提供数据查询服务，不提供任何音频存储和贩卖服务</p>
                <p>本站本身不储存任何资源文件，资源来自互联网，仅供学习交流试听，禁用于任何商业用途或公开传播的场合，版权归唱片公司所有，请于下载后24小时内删除，支持购买正版专辑！</p>
            </div>
        </div>
    </div>
    </div>

</section>
<footer class="footer" style="padding-bottom: 0">
    <p class="am-text-sm">
        V1.6.2 © 2018 <a href="javascript:void(0)" data-am-modal="{target: '#copr-info'}">免责声明</a>
        <span style="display: none;">
                <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1276101445'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s5.cnzz.com/z_stat.php%3Fid%3D1276101445%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
            </span>
    </p>
</footer>
<script src="//cdn.staticfile.org/jquery/1.11.1/jquery.min.js"></script>
<script src="//cdn.staticfile.org/amazeui/2.3.0/js/amazeui.min.js"></script>
<script src="//cdn.staticfile.org/aplayer/1.6.0/APlayer.min.js"></script>
<script src="//cdn.staticfile.org/Base64/1.0.1/base64.min.js"></script>
<!--<script src="http://music.onlychen.cn/static/js/music.js?v1.6.2"></script>-->
<script type="text/javascript">
    'use strict';

    /**
     *
     * 音乐搜索器 - JS 文件
     *
     * @author  onlychen
     * @link    http://www.onlychen.cn
     * @since   1.5.9
     *
     */

    $(function() {
        // 获取参数
        function q(key) {
            var value = null;
            var tmp = [];
            location.search
                .substr(1)
                .split('&')
                .forEach(function(v) {
                    tmp = v.split('=');
                    if (tmp[0] === key) {
                        value = decodeURIComponent(tmp[1]);
                    }
                });
            return value;
        }

//        // 加入历史记录
//        function pushState(title, link) {
//            if (window.history && window.history.pushState) {
//                window.history.pushState(null, title, link);
//            }
//        }

        // 获取 url
        function getUrl(path) {
            // var url = location.href.split('?')[0];
            // return path ? url + path : url;
            return "http://music.onlychen.cn/";
        }

        // 申明变量
        var player = null;
        var playerList = [];
        var nopic = 'static/img/nopic.jpg';
        var qName = q('name');
        var qId = q('id');
        var qUrl = q('url');
        var qType = q('type');
        var siteTitle = document.title;

        // 如果参数存在 name/id 和 type
        if ((qName || qId) && qType) {
            setTimeout(function() {
                $('#j-input').val(qName || qId);
                $('#j-type input[value="' + qType + '"]').prop('checked', true);
                if (qName) {
                    $('#j-nav [data-filter="name"]').trigger('click');
                }
                if (qId) {
                    $('#j-nav [data-filter="id"]').trigger('click');
                }
                $('#j-validator').trigger('submit');
            }, 0);
        }

        // 如果参数存在 url
        if (qUrl) {
            setTimeout(function() {
                $('#j-type').hide();
                $('#j-input').val(qUrl);
                $('#j-nav [data-filter="url"]').trigger('click');
                $('#j-validator').trigger('submit');
            }, 0);
        }

        // Tab 切换
        $('#j-nav').on('click', 'li', function() {
            var holder = {
                name: '例如: 不要说话 陈奕迅',
                id: '例如: 25906124',
                url: '例如: http://music.163.com/#/song?id=25906124',
                pattern_name: '^.+$',
                pattern_id: '^[\\w\\/\\|]+$',
                pattern_url: '^https?:\\/\\/\\S+$'
            };
            var filter = $(this).data('filter');

            $(this)
                .addClass('am-active')
                .siblings('li')
                .removeClass('am-active');

            $('#j-input')
                .data('filter', filter)
                .attr({
                    placeholder: holder[filter],
                    pattern: holder['pattern_' + filter]
                })
                .removeClass('am-field-valid am-field-error am-active')
                .closest('.am-form-group')
                .removeClass('am-form-success am-form-error')
                .find('.am-alert')
                .hide();

            if (filter === 'url') {
                $('#j-type').hide();
            } else {
                $('#j-type').show();
            }
        });

        // 输入验证
        $('#j-validator').validator({
            onValid: function onValid(v) {
                $(v.field)
                    .closest('.am-form-group')
                    .find('.am-alert')
                    .hide();
            },
            onInValid: function onInValid(v) {
                var $field = $(v.field);
                var $group = $field.closest('.am-form-group');
                var msgs = {
                    name: '将 名称 和 作者 一起输入可提高匹配度',
                    id: '输入错误，请查看下面的帮助',
                    url: '输入错误，请查看下面的帮助'
                };
                var $alert = $group.find('.am-alert');
                var msg = msgs[$field.data('filter')] || this.getValidationMessage(v);

                if (!$alert.length) {
                    $alert = $(
                        '<div class="am-alert am-alert-danger am-animation-shake"></div>'
                    )
                        .hide()
                        .appendTo($group);
                }
                $alert.html(msg).show();
            },
            submit: function submit(v) {
                v.preventDefault();
                if (this.isFormValid()) {
                    debugger
                    var input = $.trim($('#j-input').val());
                    var filter = $('#j-input').data('filter');
                    var type =
                        filter === 'url' ? '_' : $('input[name="music_type"]:checked').val();
                    var page = 1;
                    var $more = $('<div class="aplayer-more">载入更多</div>');
                    var isload = false;
                    var ajax = function ajax(input, filter, type, page) {
                        $.ajax({
                            type: 'POST',
                            url: 'http://music.onlychen.cn/',
                            timeout: 30000,
                            data: {
                                input: '十年',
                                filter: 'name',
                                type: 'netease',
                                page: '1'
                            },
                            dataType: 'jsonp',
                            beforeSend: function beforeSend() {
                                isload = true;
                                var title = document.title;
//                                switch (filter) {
//                                    case 'name':
//                                        pushState(title, getUrl('?name=' + input + '&type=' + type));
//                                        break;
//                                    case 'id':
//                                        pushState(title, getUrl('?id=' + input + '&type=' + type));
//                                        break;
//                                    case 'url':
//                                        pushState(title, getUrl('?url=' + encodeURIComponent(input)));
//                                        break;
//                                }
                                if (page === 1) {
                                    $('#j-input').attr('disabled', true);
                                    $('#j-submit').button('loading');
                                } else {
                                    $more.text('请稍后...');
                                }
                            },
                            success: function success(result) {
                                debugger
                                if (result.code === 200 && result.data) {
                                    result.data.map(function(v) {
                                        if (!v.title) v.title = '暂无';
                                        if (!v.author) v.author = '暂无';
                                        if (!v.pic) v.pic = nopic;
                                        if (!v.lrc) v.lrc = '[00:00.00] 暂无歌词';
                                        if (!/\[00:(\d{2})\./.test(v.lrc)) {
                                            v.lrc = '[00:00.00] 无效歌词';
                                        }
                                    });
                                    var setValue = function setValue(data) {
                                        $('#j-link').val(data.link);
                                        $('#j-link-btn').attr('href', data.link);
                                        $('#j-src').val(data.url);
                                        $('#j-src-btn').attr('href', data.url);
                                        $('#j-lrc').val(data.lrc);
                                        $('#j-lrc-btn').attr(
                                            'href',
                                            'data:application/octet-stream;base64,' +
                                            btoa(unescape(encodeURIComponent(data.lrc)))
                                        );
                                        if ('download' in $('#j-src-btn')[0]) {
                                            var name = data.title + '-' + data.author;
                                            $('#j-src-btn').attr('download', name + '.mp3');
                                            $('#j-lrc-btn').attr('download', name + '.lrc');
                                            $('#j-src-btn-icon, #j-lrc-btn-icon')
                                                .addClass('am-icon-download')
                                                .removeClass('am-icon-external-link');
                                        }
                                        $('#j-songid').val(data.songid);
                                        $('#j-name').val(data.title);
                                        $('#j-author').val(data.author);
                                    };

                                    if (page === 1) {
                                        if (player) {
                                            player.pause();
                                        }

                                        playerList = result.data;

                                        setValue(playerList[0]);

                                        $('#j-validator').slideUp();
                                        $('#j-main').slideDown();

                                        player = new APlayer({
                                            element: $('#j-player')[0],
                                            autoplay: false,
                                            narrow: false,
                                            showlrc: 1,
                                            mutex: false,
                                            mode: 'circulation',
                                            preload: 'metadata',
                                            theme: '#0e90d2',
                                            music: result.data
                                        });

                                        $('#j-player').append($more);

                                        $more.on('click', function() {
                                            if (isload) return;
                                            page++;
                                            ajax(input, filter, type, page);
                                        });
                                    } else {
                                        player.addMusic(result.data);
                                        playerList = playerList.concat(result.data);
                                    }

                                    player.on('canplay', function() {
                                        player.play();
                                    });
                                    player.on('play', function() {
                                        var data = playerList[player.playIndex];
                                        var img = new Image();
                                        img.src = data.pic;
                                        img.onerror = function() {
                                            $('.aplayer-pic').css(
                                                'background-image',
                                                'url(' + nopic + ')'
                                            );
                                        };
                                        document.title =
                                            '正在播放: ' + data.title + ' - ' + data.author;
                                        setValue(data);
                                    });
                                    player.on('ended', function() {
                                        document.title = siteTitle;
                                    });
                                    if (result.data.length < 10) {
                                        $more.hide();
                                    } else {
                                        $more.text('载入更多');
                                    }
                                } else {
                                    if (page === 1) {
                                        $('#j-input')
                                            .closest('.am-form-group')
                                            .find('.am-alert')
                                            .html(result.error || '(°ー°〃) 服务器好像罢工了')
                                            .show();
                                    } else {
                                        $more.text('没有了');
                                        setTimeout(function() {
                                            $more.slideUp();
                                        }, 3500);
                                    }
                                }
                            },
                            error: function error(e, t) {
                                debugger
                                if (page === 1) {
                                    var err = '(°ー°〃) 出了点小问题，请重试';
                                    if (t === 'timeout') {
                                        err = '(°ー°〃) 请求超时了，请稍后重试';
                                    }
                                    $('#j-input')
                                        .closest('.am-form-group')
                                        .find('.am-alert')
                                        .html(err)
                                        .show();
                                } else {
                                    $more.text('(°ー°〃) 加载失败了，点击重试');
                                }
                            },
                            complete: function complete() {
                                isload = false;
                                if (page === 1) {
                                    $('#j-input').attr('disabled', false);
                                    $('#j-submit').button('reset');
                                }
                            }
                        });
                    };

                    ajax(input, filter, type, page);
                }
            }
        });

        $('#j-main input').focus(function() {
            $(this).select();
        });

        $('#j-more').on('click', function() {
            $(this).hide();
            $('#j-quote').removeClass('music-overflow');
        });

        $('#j-back').on('click', function() {
            if (player) {
                player.pause();
            }
            $('#j-validator').slideDown();
            $('#j-main').slideUp();
            $('#j-main input').val('');
            document.title = siteTitle;
        });
    });var  menubtn = document.getElementsByClassName('aim-menu')[0];
    var menu = document.getElementsByClassName('aim-topbar-nav')[0];
    menubtn.onclick = function (){var style = menu.style;style.display = style.display == "block" ? "none" : "block";}

</script>
</body>
</html>